﻿using Microsoft.EntityFrameworkCore;
using S.Organization.Domian.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace S.Organization.Infrastructure
{
    public class OrganizationDbContext : DbContext
    {

        public OrganizationDbContext(DbContextOptions<OrganizationDbContext> options) : base(options)
        {

        }

        /// <summary>
        /// 单位设置2
        /// </summary>
        public DbSet<UnitsSetup> UnitsSetup { get; set; }

        /// <summary>
        /// 羊场设置
        /// </summary>
        public DbSet<SheepFarmSetting> SheepFarmSetting { get;set;}
     
        /// <summary>
        /// 栋舍管理
        /// </summary>
        public DbSet<CottageSetting> CottageSetting { get;set;}

        /// <summary>
        /// 栏位管理
        /// </summary>
        public DbSet<FieldSetting> FieldSetting { get;set;}

        /// <summary>
        /// 部门信息
        /// </summary>
        public DbSet<DepartmentInfo> DepartmentInfo { get;set;}
        
        
        /// <summary>
        /// 供应商
        /// </summary>
        public DbSet<Supplier> Supplier { get;set;}

        /// <summary>
        /// 客户
        /// </summary>
        public DbSet<Client> Client { get;set;}

        /// <summary>
        /// 后裔转钟
        /// </summary>
        public DbSet<Subcultivation> Subcultivation { get;set;}
        
        /// <summary>
        /// 妊检提示
        /// </summary>
        public DbSet<PrenatalCheck> PrenatalCheck { get;set;}

        /// <summary>
        /// 分娩天数
        /// </summary>
        public DbSet<DeliveryDay> DeliveryDay { get;set;}

        /// <summary>
        /// 中母配种
        /// </summary>
        public DbSet<PromptBreeding> PromptBreeding { get;set;}


    }
}
